/*
 * @Description: 
 * @Author: zhanyinjia
 * @Date: 2022-11-30 14:21:47
 * @LastEditors: zhanyinjia
 * @LastEditTime: 2024-07-23 10:12:22
 */
const routes = [
  {
    path: "/repackage",
    redirect: '/repackage/tree',
    component: () =>
      import( /* webpackChunkName: "home" */ "@/views/home"),
    children: [

      {
        path: "table",
        name: "table",
        component: () =>
          import( /* webpackChunkName: "repackage-table" */ "@/views/repackage/table"),
        meta: {
          title: '基础table'
        }
      },
      {
        path: "combineTable",
        name: "combineTable",
        component: () =>
          import( /* webpackChunkName: "repackage-combineTable" */ "@/views/repackage/table/combineTable"),
        meta: {
          title: '合并单元格table'
        }
      },
      {
        path: "allCheckTable",
        name: "allCheckTable",
        component: () =>
          import( /* webpackChunkName: "repackage-allCheckTable" */ "@/views/repackage/table/allCheckTable"),
        meta: {
          title: '跨页全选table'
        }
      },
      {
        path: "selectionTable",
        name: "selectionTable",
        component: () =>
          import( /* webpackChunkName: "repackage-selectionTable" */ "@/views/repackage/table/selectionTable"),
        meta: {
          title: '复选框table'
        }
      },
      {
        path: "multiHeadTable",
        name: "multiHeadTable",
        component: () =>
          import( /* webpackChunkName: "repackage-multiHeadTable" */ "@/views/repackage/table/multiHeadTable"),
        meta: {
          title: '多级表头'
        }
      },
      {
        path: "tree",
        name: "tree",
        component: () =>
          import( /* webpackChunkName: "repackage-tree" */ "@/views/repackage/tree"),
        meta: {
          title: '树形控件'
        }
      },
      {
        path: "treeSelect",
        name: "treeSelect",
        component: () =>
          import( /* webpackChunkName: "repackage-treeSelect" */ "@/views/repackage/select/treeSelect"),
        meta: {
          title: '树形select'
        }
      },
      {
        path: "select",
        name: "select",
        component: () =>
          import( /* webpackChunkName: "repackage-select" */ "@/views/repackage/select"),
        meta: {
          title: 'select无限加载'
        }
      },
      {
        path: "customSelect",
        name: "customSelect",
        component: () =>
          import( /* webpackChunkName: "repackage-customSelect" */ "@/views/repackage/select/customSelect"),
        meta: {
          title: '自定义select'
        }
      },
      {
        path: "inputLimit",
        name: "inputLimit",
        component: () =>
          import( /* webpackChunkName: "repackage-inputLimit" */ "@/views/repackage/input/inputLimit"),
        meta: {
          title: 'input限制输入'
        }
      },

      {
        path: "inputTag",
        name: "inputTag",
        component: () =>
          import( /* webpackChunkName: "repackage-inputTag" */ "@/views/repackage/input/inputTag"),
        meta: {
          title: 'input框内置tag'
        }
      },

    ]
  },
];

export default routes